import fetch from "./request.js";

// 查询
export function queryOperateLogList(data) {
  return fetch("/nb-as/1.0.1/OperateLogService/queryOperateLogList", {
    method: "post",
    data: data,
  });
}
// 详情
export function queryOperateLogDetail(data) {
  return fetch("/nb-as/1.0.1/OperateLogService/queryOperateLogDetail", {
    method: "post",
    data: data,
    headers:{
      "Content-Type":"application/json; charset=utf-8"
    },
    withLoading: true,
  });
}

// 导出
export function exportOperateLog(data) {
  return fetch("/nb-as/1.0.1/OperateLogService/exportOperateLog", {
    method: "post",
    data: data,
    withLoading: true,
    responseType: "blob",
    noInterceptors:true,//配置下载不走拦截器
  });
}
// 查询
export function queryLoginLogPageInfo(data) {
  return fetch("/nb-pc/1.0.1/LoginLogService/queryLoginLogPageInfo", {
    method: "post",
    data: data,
  });
}
